const mongoose = require('mongoose');
mongoose.connect('mongodb://new:pFDLw6ERY5ReTf8Z@114.132.204.180:27017/new')
const conn= mongoose.connection
conn.on('open',()=>{console.log('数据库链接成功');})
module.exports =mongoose